/**
 * 
 */
package com.hfjyz.examination.command;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

import com.hfjyz.examination.domain.Admin;
import com.hfjyz.examination.domain.AdminRoles;

/**
 *
 */
public class AdminCommand implements Serializable {
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 2559536499035168885L;
	private Admin admin;

	/**
	 * 
	 */
	public AdminCommand() {
		this.admin = new Admin();
	}

	/**
	 * @param admin
	 */
	public AdminCommand(Admin admin) {
		this.admin = admin;
	}

	/**
	 * @return the admin
	 */
	public Admin getAdmin() {
		return admin;
	}

	/**
	 * @param admin
	 *            the admin to set
	 */
	public void setAdmin(Admin admin) {
		this.admin = admin;
	}

	/**
	 * @return
	 * @see com.hfjyz.examination.domain.Admin#getId()
	 */
	public Long getId() {
		return admin.getId();
	}

	/**
	 * @param id
	 * @see com.hfjyz.examination.domain.Admin#setId(java.lang.Long)
	 */
	public void setId(Long id) {
		admin.setId(id);
	}

	/**
	 * @return
	 * @see com.hfjyz.examination.domain.Admin#getVersion()
	 */
	public int getVersion() {
		return admin.getVersion();
	}

	/**
	 * @param version
	 * @see com.hfjyz.examination.domain.Admin#setVersion(int)
	 */
	public void setVersion(int version) {
		admin.setVersion(version);
	}

	/**
	 * @return
	 * @see com.hfjyz.examination.domain.Admin#getName()
	 */
	public String getName() {
		return admin.getName();
	}

	/**
	 * @param name
	 * @see com.hfjyz.examination.domain.Admin#setName(java.lang.String)
	 */
	public void setName(String name) {
		admin.setName(name);
	}

	/**
	 * @return
	 * @see com.hfjyz.examination.domain.Admin#getPass()
	 */
	public String getPass() {
		return admin.getPass();
	}

	/**
	 * @param pass
	 * @see com.hfjyz.examination.domain.Admin#setPass(java.lang.String)
	 */
	public void setPass(String pass) {
		admin.setPass(pass);
	}

	/**
	 * @return
	 * @see com.hfjyz.examination.domain.Admin#getStatus()
	 */
	public String getStatus() {
		return admin.getStatus();
	}

	/**
	 * @param status
	 * @see com.hfjyz.examination.domain.Admin#setStatus(java.lang.String)
	 */
	public void setStatus(String status) {
		admin.setStatus(status);
	}

	/**
	 * @return
	 * @see com.hfjyz.examination.domain.Admin#getRoleid()
	 */
	public Integer getRoleid() {
		return admin.getRoleid();
	}

	/**
	 * @param roleid
	 * @see com.hfjyz.examination.domain.Admin#setRoleid(java.lang.Integer)
	 */
	public void setRoleid(Integer roleid) {
		admin.setRoleid(roleid);
	}

	/**
	 * @return
	 * @see com.hfjyz.examination.domain.Admin#getRealname()
	 */
	public String getRealname() {
		return admin.getRealname();
	}

	/**
	 * @param realname
	 * @see com.hfjyz.examination.domain.Admin#setRealname(java.lang.String)
	 */
	public void setRealname(String realname) {
		admin.setRealname(realname);
	}

	/**
	 * @return
	 * @see com.hfjyz.examination.domain.Admin#getMobi()
	 */
	public String getMobi() {
		return admin.getMobi();
	}

	/**
	 * @param mobi
	 * @see com.hfjyz.examination.domain.Admin#setMobi(java.lang.String)
	 */
	public void setMobi(String mobi) {
		admin.setMobi(mobi);
	}

	/**
	 * @return
	 * @see com.hfjyz.examination.domain.Admin#getRemark()
	 */
	public String getRemark() {
		return admin.getRemark();
	}

	/**
	 * @param remark
	 * @see com.hfjyz.examination.domain.Admin#setRemark(java.lang.String)
	 */
	public void setRemark(String remark) {
		admin.setRemark(remark);
	}

	/**
	 * @return
	 * @see com.hfjyz.examination.domain.Admin#getCdate()
	 */
	public Date getCdate() {
		return admin.getCdate();
	}

	/**
	 * @param cdate
	 * @see com.hfjyz.examination.domain.Admin#setCdate(java.util.Date)
	 */
	public void setCdate(Date cdate) {
		admin.setCdate(cdate);
	}

	/**
	 * @return
	 * @see com.hfjyz.examination.domain.Admin#getAdminRoleses()
	 */
	public Set<AdminRoles> getAdminRoleses() {
		return admin.getAdminRoleses();
	}

	/**
	 * @param adminRoleses
	 * @see com.hfjyz.examination.domain.Admin#setAdminRoleses(java.util.Set)
	 */
	public void setAdminRoleses(Set<AdminRoles> adminRoleses) {
		admin.setAdminRoleses(adminRoleses);
	}
}
